package com.example.service.webhook.business.court.entity;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by zouwanli on 17/5/31.
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class ZhixingCourtCaseDetailEntity implements Saveable{
    private long id;
    private String userId;
    private String mappingId;
    private String idCard;
    private String userName;
    private String caseId;
    private String caseCode;
    private String execCourtName;
    private BigDecimal execMoney;
    private String caseState;
    private String partyCardNum;
    private String queryName;
    private String caseCreateTime;
    private Date createTime;
    private Date lastModifyTime;


    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_zhixingcourtcasedetail";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return  keyColumns;
    }

    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMappingId() {
        return mappingId;
    }

    public void setMappingId(String mappingId) {
        this.mappingId = mappingId;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCaseId() {
        return caseId;
    }

    public void setCaseId(String caseId) {
        this.caseId = caseId;
    }

    public String getCaseCode() {
        return caseCode;
    }

    public void setCaseCode(String caseCode) {
        this.caseCode = caseCode;
    }

    public String getExecCourtName() {
        return execCourtName;
    }

    public void setExecCourtName(String execCourtName) {
        this.execCourtName = execCourtName;
    }

    public BigDecimal getExecMoney() {
        return execMoney;
    }

    public void setExecMoney(BigDecimal execMoney) {
        this.execMoney = execMoney;
    }

    public String getCaseState() {
        return caseState;
    }

    public void setCaseState(String caseState) {
        this.caseState = caseState;
    }

    public String getPartyCardNum() {
        return partyCardNum;
    }

    public void setPartyCardNum(String partyCardNum) {
        this.partyCardNum = partyCardNum;
    }

    public String getQueryName() {
        return queryName;
    }

    public void setQueryName(String queryName) {
        this.queryName = queryName;
    }

    public String getCaseCreateTime() {
        return caseCreateTime;
    }

    public void setCaseCreateTime(String caseCreateTime) {
        this.caseCreateTime = caseCreateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }
}
